package Extends01;/*


1111



*/
//运输飞机
public class PassengerAircraft extends Aircraft {


    public PassengerAircraft(){
    }
    public PassengerAircraft(String name,String model){
        super(name, model);
    }
    //构造方法
    public void transport(){
        System.out.println("这"+this.getName()+this.getModel()+"可以运输物资");

    }


}
